<!---- SUI模板 on ${DATE} -->
<script ng-init="initCssAndJs()"></script>
<script ng-init="initCss('publication-page/css/publication.css')"></script>
<header class="bar bar-nav">
    <a class="icon icon-left pull-left button-nav" href="#/reflection"></a>

    <h1 class="title">发表动态</h1>

    <div class="head">
        <a class="tab-item external " href="#/home">
            <span class="icon icon-home"></span>
        </a>
        <a class="tab-item external" href="#/personal-center">
            <span class="icon icon-me"></span>
        </a>
    </div>
</header>
<div class="content" ng-init="getOneUser()">
    <div class="div-input"><input ng-model="dynamic.dynamicTitle" value="{{dynamic.dynamicTitle}}"
                                  type="text" placeholder="写下我的标题"/></div>
    <div class="div-textarea"><textarea ng-model="dynamic.dynamicContent" value="{{dynamic.dynamicContent}}"
                                        placeholder="记录我此刻心情"></textarea></div>

    <div class="slide-show" style="">
        <div class="img-thumb flex-one">
            <ul class="clearfix" id="J__imgThumb">
                <li id="dynamicImgList">
                </li>
            </ul>
        </div>
    </div>
    <div class="pictures">
        <div class="list">
            <i class="fa fa-photo fa-5x"></i>
        </div>
        <input type="file" accept="image/jpg,image/jpeg,image/png" file-model="images"
               onchange="angular.element(this).scope().img_upload(this.files)"
               style="position:absolute;width:6.2rem;height:6.2rem;margin-left:0rem;margin-top:-6.2rem;background:red;opacity:0">
    </div>

    <div class="ft-btns mt--30" ng-click="addDynamic()">
        <button class="confirm">确认发表</button>
    </div>
</div>
<div ng-init="suiMobileInit()"></div>